package com.ymm.system.api.facade;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;
import java.util.List;

//import com.ymm.driver.api.constants.Dto.CargoDto;
import com.ymm.system.api.constants.CargoEntity;
import com.ymm.system.api.dto.CargoDTO;
import com.ymm.system.api.dto.DriverInfoDTO;
import com.ymm.system.api.utils.Result;

/**
 * @auther ZhangHongyuan
 * @date 2022/8/3 11:34
 */

/**
 * 1.司机搜索当天货源的方法
 *
 * 2.系统派送一些长时间的单
 */
public interface SystemMatchService {

    Result<List<CargoDTO>> driverSearchDayCargoService(Double driverLat, Double driverLon, Integer driverCarType);

    Result<List<CargoDTO>> PushLongTimeCargo(Double driverLat, Double driverLon, Integer driverCarType,Long driverId);

    Result<List<CargoDTO>> driverSearchSpecifyTimeCargoService(Double driverLat, Double driverLon, Integer driverCarType,
                                                               Date deliveryTimeEarliest, Date deliveryTimeLatest);

}
